package com.drawing.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.drawing.dao.IpDAO;
import com.drawing.mapper.IPMapper;
import com.drawing.pojo.IPenetration;
import com.drawing.service.IPService;

/**
 * @author zhaozhenhang <zhaozhenhang@kuaishou.com>
 * Created on 2023-10-15
 */
@Service
public class IPServiceImpl implements IPService {

    @Autowired
    private IpDAO ipDAO;

    @Autowired
    private IPMapper ipMapper;

    @Override
    public IPenetration queryIP() {
        return ipMapper.selectIPInfoById((long) 1);
    }
}
